Broad Conditions Favor the Evolution of Phase-Variable Loci