Statistical physics of interacting dislocation loops and their effect on the elastic moduli of isotropic solids