Over the last three years, Home Depot has largely outpaced its smaller rival in terms of same-store sales growth, but the balance looks to be shifting