Constraints from high-precision measurements of the cosmic microwave background: the case of disintegrating dark matter with Λ or dynamical dark energy