Pandemic wrecks many state budgets, could trigger deep cuts