Former Home Depot chief leaves firearms post