Trump adviser resigns over tariff plans