Wal-Mart Stores has decided to restucture its global e-commerce operations in the wake of the departure of two senior executives.