US trade deficit continued to widen in December after hitting the smallest monthly amount since the 2009 low in October.