In other words, they can NOT deal with Hamas. So, how would you make it possible for them to have enough resources to do so? Or do you just expect them to magically acquire the means to do it?
One of the reasons the IRA was able to recruit and carry out terror attacks for the better part of a century without the UK making a dent in their fervor or violence was the paternalistic, heavy-handed, disproportionate use of force employed by the UK in their efforts to suppress them. Because they lived with bigoted religious oppression daily, ordinary Irish civilians were very sympathetic to the IRA.
When the UK finally decided to treat the moderates on the Republican side as rational, self-interested, 100% human, sovereign and competent leaders and negotiate with them in good faith, disarmament was accomplished. The UK didn't
force it on the militants, the reinvigorated and growing moderate segment of the Republican movement worked with the more violent members to disarm.
This stuff only looks like magic for people who compartmentalize their understanding of psychology, culture, geography, economy and history until one thing has nothing to do with anything else. For systemic thinkers who seek out similarities and connections rather than zeroing in on differences, repeating patterns of predictable cause and effect are much more easy to identify and employ in decision making.
Of course Israel and Gaza have their own unique challenges, but there are idiots in both states think that an approach (perpetual warfare) that has NEVER worked for ANYBODY is going to suddenly start working for them. And unfortunately, those idiots are mostly in charge.
As in Northern Ireland, the moderates in Palestine have the requisite qualities to disarm Hamas. Israel does not. But the moderates in Palestine are living under a heavy-handed military occupation where the state to which the aspire is being continually eroded by the expansion of Jewish settlements, and why should they bother persuading the extremists on their side to abandon violence when Israel offers them absolutely nothing in return except continued occupation and expansion?
Anyway, all of that, plus a great deal of UN observation and international funding during the peace process.