Rescission of the order, imposed by President Joe Biden as he struggled with the civilian toll caused by Israel’s war in Gaza, comes as Trump puts his mark on U.S. foreign policy.