A win, win situation for Palestinians. If there's violence, it proves Jews are bad. Hamas has already said once they regain control of Gaza, there'll be 'the odd' rocket here and there and Jews will die...so what. To the Palestinian mind nothing succeeds like success. Intafada, mayhem and murder, suicide bombs have yielded the Gaza Strip. Psychology 101, positive reinforcement will produce more of the same behavior. What reason in the world would they have to change their behavior, their goals? So predictable and tragic.
There's no quid pro quo. What does Israel get for leaving the Gaza Strip? Hamas calls it a 'win' and says the fight to the death continues. (Israel's death.)