They should have just maintained the total blockade until the Palestinian people gave up the hostages and the terrorists. And if they chose not to, then starve them out. Play the waiting game.
And deny them electronic communications. No contact with the outside world.