US Senate passes $460bn spending bill to avert government shutdown