US House passes stopgap spending bill in hopes of dodging shutdown