NBC: E.U. threatens legal action as U.K. moves to rewrite Brexit rules over Northern Ireland