Home Depot CEO says that the boost in online sales has allowed his company to grow while cutting back on brick-and-mortar expansion.