Phase lapses in scattering through multielectron quantum dots: Mean-field and few-particle regimes