The discounter has fared better than other retailers because of its low-price reputation and big grocery business.