First-order perturbation treatment of the short-range repulsion in a system of many closed-shell atoms or molecules