Three-dimensional evolution of large-scale vortices in supersonic flow