If bill becomes law, UK has power to disregard part of withdrawal treaty dealing with Northern Ireland trade.