Notre Dame attacker had pledged allegiance to IS