He wasn't punished. He was "found not guilty of murder by reason of insanity" and placed in a state psychiatric hospital. That's not punishment, that is treatment and care. That's also why he is being released - they have determined that he is stable enough to be back in society. (I have my doubts that he will remain stable without being in a psychiatric hospital but I guess we'll all see.)