Peter Mandelson's departure from the Labour Party marks an end to the career of one of the party’s most influential political figures of the past 30 years.