The European Commission has launched an infringement procedure against the U.K., accusing it of breaking international law with its plans to adopt a bill that would allow it to rewrite the Brexit withdrawal treaty after the facts.