House votes to avert shutdown, but quick Senate OK in doubt