in the agreement that ended the cuban missile crisis the soviets agreed to remove the missiles from cuba and kennedy agreed to