A US envoy will fly to the Middle East to try and secure an extension of the fragile ceasefire in Gaza between Israel and Hamas and see more hostages released.