Amid a slumping real estate market, The Home Depot Inc. has agreed to new terms for the sales of its HD Supply unit. The new deal includes a purchase price of $8.5 billion and The Home Depot's agreement to acquire a 12.5 percent stake in the new company for $325 million. In addition, The Home Depot will guarantee a $1 billion senior secured loan to HD Supply.