A Maryland man's rape conviction has been overturned four days after he was found beaten to death in a state prison cell.