The evolution of combinatorial gene regulation in fungi