Stabilization mechanism of molecular orbital crystals in IrTe2