The bill implementing Britain’s exit deal with the European Union officially became law on Thursday ahead of the country’s departure from the bloc next week.