fix confirm layouts in multisig operation
implement OutputScriptType_PAYTOMULTISIG, reorganize compile_output code