The chief investment officer for North Carolina's $94 billion state pension fund has unexpectedly resigned.