Home Depot lays off 10 percent of staff at headquarters