U.S. factory activity grew for the first time in a year in January, with new orders rebounding sharply, but manufacturing is still not out of the woods as import tariffs raised raw material prices and strained supply chains.