Suppression of the soliton frequency shifts by nonlinear pairing of pulses