Walmart is redefining its value proposition to capture more high-income shoppers, who can buoy the business.