Domain formation in noninstantaneous symmetry-breaking phase transitions