Democrats’ stunning turn-around on U.S.-provided funding for UNRWA is a triumph for hard-right activists and Republican lawmakers who have long sought to undermine the U.N. agency.