Medicaid managed-care firm improperly denied care to thousands