The problem of dealing with terrorism is there are two entirely different motives at work.
On the one hand, there are those that do the work on the ground and their supporters. In the case of Islamists, these people really do believe what they claim to, namely that they will be martyrs and go to heaven.
The other motive are those that direct the terrorism. They are simply using the activists as tools to achieve their aims. Namely to incite greater rebellion for greater political purposes.
We saw this with the IRA. Those doing the work generally saw themselves as brave patriots fighting because of the likes of Drogheda and the 19th century famine. Fantasists, lost touch with reality.
Those directing the activities of the IRA, much like the activities of these Islamists, aimed attacks at nonsense targets, Horse Guards Parade, shops and factorys, Railways stations and schools. The purpose is not to achieve tactical advantage, rather to cause a reaction against the masses and incite general rebellion.
In the case of the IRA, Americans not-with-standing, the policy of the UK was as far as possible, containment and restoration. There were many voices seeking a more agressive approach. Paisley for example wanted a wall built along the border and check points in and out of so called Catholic Areas. Those ridiculous voices were ignored. The result was a success. Success which took 30 years however, largely because of the continual interference by the afore mentioned Americans.
In the case of the ME, the reaction has been large scale destruction and destabilisation of numerous governments all over the ME and N Africa. Result, the situation has magnified to enormous proportions.
We have millions displaced, looking for any sort of shelter. Tiny numbers of activists mingle in and as happened on New Year's Eve when women were attacked and sexually assaulted are even now seeking to stir up conflict with these as well. The decision to isolate and deport many will create enormous new problems and all the lying propaganda of the western press isn't going to change that.
We're in big trouble now. The anti-EU mob is cashing in with preposterous claims that none of this would have happened if it weren't for the EU.
The Americans wander around with a sense of satisfaction that since they haven't experienced any significant attacks on their soil, therefore their approach, bombing the hell out of the ME, must be working.
In reality, those directing the terrorism are a lot smarter than that. They have successfully forced the Americans to do what they seek, bring chaos and anarchy to the ME. They can easily launch random attacks on Europe and elsewhere to demonstrate to the people of the ME they are a force to be reckoned with. Moreover, by attacking Europe they can claim they are responding to the bombing of the ME by the crusaders.