The Iraqi prisoner had sued the Biden administration, saying he would be at risk for abuse at a prison in his homeland.