House passes plan to fund government