The historic ouster last week of House Speaker Kevin McCarthy carries important lessons for government and business executives about preventing a crisis.