Nonsequential double ionization with polarization-gated pulses