Appeals court temporarily halts Trump policy