Private equity firm Sycamore Partners is buying trouble office supply store chain Staples in a deal valued at $6.9 billion.