Wal-Mart is moving towards a new flexible system of scheduling hourly workers based on the amount of traffic in stores in order to cut labour costs.