The inmate suffered what were initially thought to be life-threatening injuries