Israeli Prime Minister Benjamin Netanyahu says the military retains the right to return to war if further negotiations on the ceasefire deal fail.