WASHINGTON—An agreement reached by U.S. congressional leaders and the White House on a massive bill funding military, State Department and a range of other government programs will continue a ban on U.S. funding for UNRWA, the main U.N. agency for Palestinians, until March 2025, two sources said on Tuesday.