The company had refused for years to allow passengers to tip through the app, one of many sources of frustration for drivers, who have repeatedly raised concerns about low wages and a lack of basic labor rights.