Transition to turbulence in solar surges