Workers frequently cash out their retirement accounts when changing jobs. That can cost them in the long run.