UN Human Rights Committee ruling covers cases involving 25 refugees who endured years of arbitrary detention.