Beyond Hadfield’s lamentation for his animal friend is the story of a man who would inadvertently transform the legal perception of insanity beyond recognition