This is how the Israel-Hamas war could end