Peter Mandelson, fired as the UK’s envoy to the US in September, was a senior figure in the governing Labour party.