Other errors can be remedied. Death penalty not so much.
(Edited for grammar. I hate typing on a smartphone.)
For example, if you blind someone, how is that not just as irrestorable?
But you have to realize, this is not to be read in isolation as a rehash of Hammurabi''s code. There is significant axiomatic and theoretical foundation that brings Kant to this conclusion, which has significant influence in modern ethics.