UK wins legal challenge over Rwanda asylum deal