Enemies in Agreement: Domestic Politics, Uncertainty, and Cooperation between Adversaries