Is it going to be ugly? You bet. Is it going to be dangerous? No doubt. But it's the ONLY way to a full solution.
For decades, despots and tyrants have used these guys (Hamas, Hizbollah, Muslim Brotherhood, etc.) to blackmail the rest of the world. OK, now they have their chance. Let them try to run a country and see what happens and how happy the people are with the results.
You hear from time to time a Conservative disgusted with the GOP administration say. "I'm not going to vote, maybe the Liberals will take over and make such a mess of it they will never be elected again". This will test that theory.