Republican state legislature backs Medicaid expansion