Changes in the genetic requirements for microbial interactions with increasing community complexity