Arms, Alliances, and Security Tradeoffs in Enduring Rivalries