Nun-killing ex-priest dies in prison