The resignation must have been a horrible wrench as well as a humiliation for Lord Mandelson, who had - as he lamented - dedicated his life to the party.