Aaron was harassed and harangued by an overzealous attorney. His suicide is, in a sense, a direct consequence of another's actions. The actions that led to his trial also are laced with strong moral beliefs that seem to conflict with the law, leading me to believe that perhaps he knew his actions would cause him to become a martyr.
Ilya on the other hand, is a textbook suicide case. That's not to diminish the significance of his death, but to point to the fact that there are two factors at play here. One is the tragedy of young aspiring minds who take their own lives. The other, of an uncalibrated and overreaching legal system.
I believe Aaron would wish his legacy and his death to help impact and reform the latter.