Having counted on Washington for money that may not be delivered, at least 30 states will have to close larger-than-anticipated shortfalls in the coming fiscal year unless Congress passes a six-month extension of increased federal spending on Medicaid.