Prisoner dies eight days after suicide attempt that sparked