<p>A federal appeals court ruled Friday that U.S. immigration officials must offer detainees "a meaningful opportunity to contest" any deportation to countries where they have no ties.</p>