I forgot to mention in the other reply: the scheme I proposed only works if there's someone implementing it who Hamas won't try to kill. That pretty much means it would have had to be some (sufficiently friendly) Arab country (could be internationally funded, of course--there's no reason Arab countries would need to bear the financial burden). Other schemes could be proposed, but that was an example of the kind of thing that would be available if Israel had full international support for getting rid of Hamas so they had someone they could deal with.