Islamist clampdown risks stirring up terror threat