The House approved legislation to avert a government shutdown hours before the deadline Friday, sending the bill to the Senate for consideration after a whirlwind week on Capitol Hill. The chamber voted 366-34-1 in support of the legislation, clearing the two-thirds threshold needed for passage since GOP leadership brought the bill to the floor under…