U.S. President Joe Biden signed into law a stopgap bill that will fund the federal government through early March and avert a partial government shutdown, the White House said on Friday.