Main reasons for USSR collapse were internal. At the end of USSR people didn't really believe in soviet ideals, propaganda etc. Everybody became cynic. But yes, maybe external factors played some role. Namely, maybe aggressiveness and insane rhetorics of Reagan prolonged USSR a bit more. He gave many good confirmations to communist propaganda. We'll never know...