US Senate passes bill to avert rail shutdown with Biden's approval looming