A Mexican drug lord convicted of murdering and torturing a U.S. DEA agent has been released from a Mexican prison on a technicality.