The UK will not have to pay Rwanda millions of pounds over the failed migrant deportation deal after winning an international court case..