Two senior Walmart leaders departed the retailer as new chief executive John Furner implements structural changes at the world’s largest retailer.