There is growing international pressure for Hamas and Israel to reach an agreement on a cease-fire and avert a possible Israeli attack on Rafah, where more than half of Gaza’s 2.3 million people have sought refuge after fleeing fighting elsewhere in the territory.