Nonlinear optimal control of bypass transition in a flat plate boundary layer