States tapping historic surpluses for tax cuts and rebates