The arresting officer did fine with just a tazer. How would armed police have changed the outcome here? The innocent victim guy would still have been stabbed, the perpetrator may have been shot but that doesn't really help because people in a frame of mind that drives them to kill innocents really don't care if they live or die so armed police is no deterrent. Either way armed police wouldn't have made life any safer for the innocent victims and same goes for all the recent attacks.
No amount of police with guns is going to prevent even one of these types of attack, it's just a fact. No amount of intelligence gathering is going to stop them, it's not an organisation with structure. The politicians give it a name because it makes it sound like a single organisation that can be controlled, attacked or neutralised, it isn't and it can't, it's not a conventional war against an enemy in one place with one leader, these are just individuals or small autonomous groups who have suffered under the foreign and possibly even domestic policies of other countries and are at the point they feel they have nothing left to lose. They're bound together more by the global media reports of each others actions than by a common leader or cause.
Maybe you've just got to get used to this as a way of life.