Medicaid eligibility ending for thousands of people