China cut the value of the yuan nearly 5% over a three-day period last week