I don't think it's related to pronunciation at all.
It shows word composition, e.g. 会社員 is かいしゃ-いん, and 英雄主義 is えいゆう-しゅぎ.
I'm not strictly opposed to allowing an optional '-' to help readability at points where the dictionary splits a word, but I'm not buying the diphtong reasoning.