Hamas-led militants are set to free three more hostages, all Israeli civilian men, and Israel will release dozens of Palestinian prisoners as part of a fragile agreement that has paused the war in the Gaza Strip.