For new multisig, we want to consolidate legacy-only logic from
shared logic.
Both fSuccess and scriptCode are needed for both modes.
The following are only needed for legacy multisig:
- CleanupScriptCode
- legacy signature checking loop
- NULLDUMMY check
Depends on D3673