Restrictions on international economic flows—like Trump’s tariffs—seem to be obviously bad. But politically speaking, that isn’t always the case.