Samsung has slashed its third-quarter operating profit guidance after the electronics giant was forced to permanently end production of its embattled Galaxy Note 7 smartphone.