A sweeping challenge to the Trump administration’s “America First” policies could add to tensions already frayed by Nafta negotiations.