A relatively small Walmart rule change caused a big stir, highlighting the tension the surging e-commerce business is creating for retail workers.