Add support for creating multisig inputs scripts that redeem P2SH outputs