Venezuela’s government has released a former spy chief for the late president, Hugo Chavez, and who spent nearly five years in prison for spearheading a movement of disgruntled loyalists that defied the rule of the leftist firebrand’s handpicked succesor, Nicolas Maduro.