After laying off dozens of employees last year, Dollar General bought a new office building — here's how much it paid.