North Carolina justice ends suit against ethics panel after it dismisses complaint