The president downgraded the punishment of 37 of 40 prisoners on death row to life in prison without parole