The Logic of Violence in Civil War