Home Depot on Tuesday posted a roughly 4% quarterly sales decline, as a sluggish real estate market and selective spending by homeowners continued to weigh on…