Nonlinear evolution of secondary instabilities in boundary-layer transition