transaction_builder: expandInput - check p2sh early, can avoid redundant assignments
transaction_builder: expandInput - check p2sh early, can avoid redundant assignments

junderw/bitcoinjs-lib,BitGo/bitcoinjs-lib,BitGo/BitGoJS,junderw/bitcoinjs-lib,bitcoinjs/bitcoinjs-lib,bitcoinjs/bitcoinjs-lib,BitGo/BitGoJS,visvirial/bitcoinjs-lib,BitGo/bitcoinjs-lib,BitGo/BitGoJS,BitGo/BitGoJS,UdjinM6/bitcoinjs-lib-dash,visvirial/bitcoinjs-lib