Effect of divertor legs on neutral particle and impurity retention for a closed helical divertor configuration in the Large Helical Device