House passes cuts to Medicaid, student loans