Hamas says it will release three hostages on Saturday, resolving a dispute with Israel that threatened to derail the ceasefire. In exchange, Israel will free dozens of Palestinians from jail.