Inward Bound: Domestic Institutions and Military Conflicts