Deputy managing director’s departure will allow Trump administration to appoint her successor at the fund