Optimize checkMajorityAutomorphismsMany