What role did the policy of containment play in the involvement of the United States wars in Korea and Vietnam?