Harvard Management Co. has explored selling part of its private equity portfolio, people with knowledge of the matter said.