Under the new spending bill, the nation’s largest abortion provider would have to stop offering abortion in some states or lose millions in Medicaid funding for basic health care.