Appeals court blocks Trump administration from removing temporary protective status of nearly 12,000 Afghans.