A new construction of compact torsion-free $G_2$-manifolds by gluing families of Eguchi–Hanson spaces