Alfonso Gómez Méndez, ex fiscal