While this would work, there is a better and more streamlined way that doesn't require a CC to bypass. If you want a pedal to be bypassed when a Program Change is sent, you should set up the RCV MAP such that instead of pointing to a preset, the Program Change points to BYP. In the MIDI system menu under RCV MAP flip the arrow to point to the banks. You can then scroll the encoder over to the left to where it says BYP. This way, that Program Change message will bypass the pedal. Also notice that you can turn it to OFF (program change has no effect), ACT (program change always activates), or TOG (program change always toggles active/bypass).