Israel will adopt a proposal for an extension to the first phase of the ceasefire in Gaza, the office of the Israeli prime minister has announced.