Charge-dependent azimuthal correlations from AuAu to UU collisions