The U.N. agency for Palestinian refugees has almost closed a funding gap caused by the loss of $300 million in U.S. contributions, its chief said on Tuesday.