Denmark Attack, Islamist arrest