Competing HMOs Discover When It's Better To Cooperate