US House approves $1.1 trillion spending bill, averts shutdown