Imports and the trade deficit have ballooned in recent months, defying the Trump administration’s efforts to reduce it through tariffs.