I don't see how that makes a difference. People who are killed in a drug-related drive-by or a bank robbery are no less dead than people killed in an ideologically-motivated terrorist attack. And people killed in an ideologically-motivated terrorist attack are no more or less dead when the motivation is Islamic radicalism, white supremacy, non-white racism, misogyny, anti-abortion fanaticism, or any other ideology.
I see no alternative to our current techniques of criminal intelligence-gathering and law enforcement that doesn't raise more problems than it solves.