JERUSALEM — Israel and Hamas agreed at the last minute Thursday to extend their cease-fire in Gaza by another day. But any further renewal of the deal that has seen dozens of hostages and prisoners released could prove more challenging since Hamas is expected to demand greater concessions for many of the remaining captives.