Donald Trump is the first president to use the International Emergency Economic Powers Act to impose tariffs, teeing up likely legal battles that will test his executive authority.