Uber’s exit from Nigeria shows the challenge of making low-value rides, intense competition and rising costs work at scale.