The lower house of Britain’s parliament on Wednesday overturned changes made by the upper house to the legislation needed to ratify the country’s divorce agreement with the European Union.