Goldman Sachs' top lawyer is leaving the firm, saying her prior work with Epstein was "becoming a distraction."