US Senate passes bill to avert shutdown and boosts social security