Chappy Hakim, chief executive of miner Freeport-McMoran's Indonesian unit, has resigned.