Biden signs bill to avert partial government shutdown