Gravar-mail: Mating ecology explains patterns of genome elimination