President commutes death sentence of three