A post-Brexit spat between Britain and the European Union is threatening to spiral into an all-out trade war. The two sides are at odds over the complicated status of Northern Ireland, a British province that effectively stayed in the E.U.’s single market even as the rest of the country withdrew from the 28-member bloc.