Minimization of the Maximum Peak-to-Peak Gain: The General Multiblock Problem