Shocks, Commitment, and the Risk of Civil War