The Senate passed a bill on Saturday that would extend government funding to December 11 in a bid to avert a shutdown ahead of the upcoming midterm elections.