I agree with Apple and Sicilian Babe and disagree with Don Cardi. Fredo knew he was betraying Michael. I forgot where Cristina stands on this part of the question.
But I also agree with Don Cardi and Cristina and disagree with Apple and Sicilian babe. Things could have been arranged so Fredo posed no future threat.