Dollar General said a worse than expected macroeconomic backdrop is impacting its customers spending, leading the discounter to slash its full year outlook.