Senate leaders scramble to avert partial government shutdown