U.S. President Donald Trump on Wednesday edged toward backing a deal in Congress on funding for a barrier on the Mexican border, but left open the possibility that disputes over the wall could still cause a partial government shutdown by the weekend.