A generalized Gell-Mann-Goldberger transformation for many-body scattering