Factorization of the diffraction dissociation amplitude in four-body final states