The international criminal court has issued arrest warrants for the Israeli prime minister, Benjamin Netanyahu, Israel's former defence minister Yoav Gallant and the late Hamas military leader Mohammed Deif over alleged war crimes committed in Gaza.