Measurement of light scalar mesons in many-body decays in the PHENIX experiment at the Relativistic Heavy-Ion Collider