Did he convict an innocent man due to his own wrongdoing and did he knowingly withhold evidence? Clearly.
Did he prove that he was coerced into this behavior in some way, thus proving entrapment and absolving himself of any guilt in this matter? If he had, it's doubtful he would've been fined and sentenced to jail time and community service, ergo, I'd say he did not.
So he did something wrong, he did so knowingly, even if he had "surrendered his sense of self" to the institution, he is still guilty of wrongdoing that destroyed another mans life - by the very same argument that the entrapped would have to prove that the entrapment led him to behave this way.
What's the difference?
Someone caught by an undercover cop is interacting with that cop for the first time. For this reason, by default, the cop is not assumed to have culpability.
Think about this individual case. Did Ken Anderson end up in this prison because the prosecutor was personally out to get him? I don't think so. I think he ended up in prison because of a system that is "tough on crime" and is designed to heavily incentivize high conviction rates sometimes to the extent that it produces wrongful convictions.