Ceasefire agreed between Israel and Palestinian militants – but truce is not a long-term solution