Prosecutors had sought the death penalty in the case, closely watched in a deeply divided country. It is the most consequential yet for the ousted leader.