Integrability and RG flow in 2d sigma models