Stocks stumble as trade war nerves send yuan to 10-year low