The truce will quell investor fears about China’s being a continued source of massive losses as Uber wages an uphill and losing battle there.