House passes $1.2 trillion spending bill but Senate must still act