The modified quasichemical model in the Distinguishable-Pair Approximation for multicomponent solutions