The prisoner allegedly beaten by guards, which sparked an outcry and a criminal investigation, has been released by Russian authorities.