Mandelson leaves legacy of failure and bitterness