The U.S. posted a smaller January budget deficit, helped by a sharp surge in tariff revenue. Customs duties totaled $30 billion for the month.