U.S. funding bill clears Congress and heads to Biden, averting a shutdown