With its comments, Home Depot gave fresh hope that relief could be coming from consumers or the broader economy.