Lord Mandelson resigns