Former Home Depot CEO leaves post at firearms maker