Venezuela has regained control of a notorious jail that had been under the control of a powerful criminal gang.