Appeals court rules against Obama-era policy to shield immigrants who came to US as young children