US House passes stopgap to avoid shutdown