He was serving 2 life sentences + 40 years, not one. Even the prosecutors only asked for 20. What he did was wrong, but the sentence was disproportionate. The judge intended to throw away his life to make a point.
Fitting then, that his release is happening to make a point with respect to judicial overreach in New York.