UK court allows appeal over Rwanda migrant plan