Report points to sheriff's 'abject failure' to protect inmat