He "killed" an admitted gang member and murderer and he's on record (via letters to the outside) saying that he feared gang retribution and intimidation and repeatedly asked for solitary.
Self-defense is pretty obvious, especially in a case without witnesses.