US House passes stopgap spending bill to avoid govt shutdown