State’s nursing home residents may lose funding