Peter Mandelson has resigned from the House of Lords