The Senate approved a bill that would ban the state health insurance program and Medicaid from covering some medical care for transgender people.