Mentally ill inmate dies after five days of abuse