Appeals court allows partial enforcement of Trump travel ban