Lord Mandelson said he resigned his membership of the Labour Party to avoid causing it “further embarrassment” over Epstein.