Northern Ireland leaders trade terrorism barbs in row over Brexit protocol