China struggles to steady yuan as Trump’s tariffs roil markets