The state’s failure to file a “timely’’ court appeal has opened up a budget sinkhole that could require the retroactive payment of millions of Medicaid dollars to dozens of nursing homes. The financial consequences are so potentially large they could seriously affect legislators’ plans to roll out a new state budget this coming week.