The U.K. government of Prime Minister Boris Johnson is weighing proposed legislation to scrap a part of the Brexit deal that governs trade between Northern Ireland and the Republic of Ireland.