tests: reset fIsBareMultisigStd after bare-multisig tests
tests: reset fIsBareMultisigStd after bare-multisig tests

The bug this fixes is two-part.

1.The fIsBareMultisigStd global is being reused by other tests,
i.e script_p2sh_tests(set), after being set to false.

2. The order our tests run in doesn't always? seem to be random,
which meant that the script_p2sh tests would only fail if they
were run in an order where transaction_tests ran first, mutating
the fIsBareMultisigStd global.

This doesn't seem to happen when running make check, but if you
run src/test/test_bitcoin and pass --random=99999, the failure
in script_p2sh:

test/script_p2sh_tests.cpp:200: error: in "script_p2sh_tests/set": txTo[1].IsStandard

will occur (on most systems).

The new test was introduced in 1bb5d517aa616c1d5b5801d2ea36a2de5fb61eba.

alecalve/bitcoin,ElementsProject/elements,n1bor/bitcoin,apoelstra/bitcoin,Xekyo/bitcoin,monacoinproject/monacoin,pataquets/namecoin-core,mm-s/bitcoin,jambolo/bitcoin,Sjors/bitcoin,n1bor/bitcoin,jonasschnelli/bitcoin,ElementsProject/elements,mm-s/bitcoin,achow101/bitcoin,ajtowns/bitcoin,GroestlCoin/GroestlCoin,domob1812/namecore,AkioNak/bitcoin,cdecker/bitcoin,mruddy/bitcoin,n1bor/bitcoin,jnewbery/bitcoin,sstone/bitcoin,apoelstra/bitcoin,cdecker/bitcoin,MarcoFalke/bitcoin,domob1812/namecore,practicalswift/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,rnicoll/bitcoin,jnewbery/bitcoin,jambolo/bitcoin,cdecker/bitcoin,domob1812/namecore,sipsorcery/bitcoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,mm-s/bitcoin,namecoin/namecore,mm-s/bitcoin,MeshCollider/bitcoin,bitcoin/bitcoin,domob1812/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,kallewoof/bitcoin,fujicoin/fujicoin,peercoin/peercoin,anditto/bitcoin,midnightmagic/bitcoin,n1bor/bitcoin,jonasschnelli/bitcoin,ahmedbodi/vertcoin,prusnak/bitcoin,jnewbery/bitcoin,qtumproject/qtum,AkioNak/bitcoin,mruddy/bitcoin,jamesob/bitcoin,mitchellcash/bitcoin,prusnak/bitcoin,ajtowns/bitcoin,AkioNak/bitcoin,cdecker/bitcoin,andreaskern/bitcoin,anditto/bitcoin,EthanHeilman/bitcoin,achow101/bitcoin,sstone/bitcoin,litecoin-project/litecoin,litecoin-project/litecoin,Xekyo/bitcoin,litecoin-project/litecoin,mruddy/bitcoin,pataquets/namecoin-core,JeremyRubin/bitcoin,anditto/bitcoin,fanquake/bitcoin,bitcoin/bitcoin,Sjors/bitcoin,bitcoin/bitcoin,mitchellcash/bitcoin,fujicoin/fujicoin,litecoin-project/litecoin,rnicoll/bitcoin,ahmedbodi/vertcoin,alecalve/bitcoin,practicalswift/bitcoin,gjhiggins/vcoincore,ajtowns/bitcoin,sipsorcery/bitcoin,AkioNak/bitcoin,bitcoin/bitcoin,monacoinproject/monacoin,jonasschnelli/bitcoin,fujicoin/fujicoin,kallewoof/bitcoin,EthanHeilman/bitcoin,jonasschnelli/bitcoin,ahmedbodi/vertcoin,practicalswift/bitcoin,pstratem/bitcoin,yenliangl/bitcoin,fujicoin/fujicoin,namecoin/namecoin-core,monacoinproject/monacoin,GroestlCoin/GroestlCoin,jamesob/bitcoin,bitcoinknots/bitcoin,particl/particl-core,JeremyRubin/bitcoin,DigitalPandacoin/pandacoin,yenliangl/bitcoin,kallewoof/bitcoin,mitchellcash/bitcoin,rnicoll/dogecoin,jnewbery/bitcoin,rnicoll/bitcoin,tecnovert/particl-core,fanquake/bitcoin,gjhiggins/vcoincore,bitcoinsSG/bitcoin,mitchellcash/bitcoin,pstratem/bitcoin,anditto/bitcoin,EthanHeilman/bitcoin,bitcoin/bitcoin,vertcoin/vertcoin,prusnak/bitcoin,rnicoll/dogecoin,apoelstra/bitcoin,mm-s/bitcoin,instagibbs/bitcoin,mruddy/bitcoin,jamesob/bitcoin,domob1812/namecore,ElementsProject/elements,Xekyo/bitcoin,domob1812/namecore,tecnovert/particl-core,gjhiggins/vcoincore,qtumproject/qtum,midnightmagic/bitcoin,yenliangl/bitcoin,monacoinproject/monacoin,namecoin/namecoin-core,EthanHeilman/bitcoin,apoelstra/bitcoin,Sjors/bitcoin,namecoin/namecore,jamesob/bitcoin,n1bor/bitcoin,jamesob/bitcoin,anditto/bitcoin,dscotese/bitcoin,DigitalPandacoin/pandacoin,EthanHeilman/bitcoin,MarcoFalke/bitcoin,ajtowns/bitcoin,JeremyRubin/bitcoin,DigitalPandacoin/pandacoin,jlopp/statoshi,GroestlCoin/GroestlCoin,achow101/bitcoin,MarcoFalke/bitcoin,EthanHeilman/bitcoin,bitcoinsSG/bitcoin,midnightmagic/bitcoin,MeshCollider/bitcoin,gjhiggins/vcoincore,sstone/bitcoin,rnicoll/dogecoin,DigitalPandacoin/pandacoin,midnightmagic/bitcoin,pataquets/namecoin-core,mruddy/bitcoin,mitchellcash/bitcoin,practicalswift/bitcoin,domob1812/namecore,ahmedbodi/vertcoin,GroestlCoin/bitcoin,bitcoinsSG/bitcoin,namecoin/namecore,DigitalPandacoin/pandacoin,rnicoll/bitcoin,andreaskern/bitcoin,fujicoin/fujicoin,monacoinproject/monacoin,qtumproject/qtum,bitcoinknots/bitcoin,practicalswift/bitcoin,tecnovert/particl-core,bitcoinknots/bitcoin,sipsorcery/bitcoin,jambolo/bitcoin,gjhiggins/vcoincore,GroestlCoin/bitcoin,sstone/bitcoin,ahmedbodi/vertcoin,pstratem/bitcoin,jnewbery/bitcoin,JeremyRubin/bitcoin,lateminer/bitcoin,prusnak/bitcoin,domob1812/bitcoin,MeshCollider/bitcoin,namecoin/namecore,pataquets/namecoin-core,dscotese/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,qtumproject/qtum,dscotese/bitcoin,midnightmagic/bitcoin,ElementsProject/elements,GroestlCoin/bitcoin,ajtowns/bitcoin,GroestlCoin/bitcoin,JeremyRubin/bitcoin,rnicoll/bitcoin,MarcoFalke/bitcoin,Sjors/bitcoin,GroestlCoin/GroestlCoin,monacoinproject/monacoin,andreaskern/bitcoin,gjhiggins/vcoincore,jambolo/bitcoin,apoelstra/bitcoin,andreaskern/bitcoin,pstratem/bitcoin,lateminer/bitcoin,pstratem/bitcoin,achow101/bitcoin,sstone/bitcoin,GroestlCoin/GroestlCoin,domob1812/bitcoin,alecalve/bitcoin,litecoin-project/litecoin,particl/particl-core,sipsorcery/bitcoin,particl/particl-core,jlopp/statoshi,yenliangl/bitcoin,bitcoinsSG/bitcoin,n1bor/bitcoin,jlopp/statoshi,pataquets/namecoin-core,fanquake/bitcoin,peercoin/peercoin,ajtowns/bitcoin,domob1812/bitcoin,MeshCollider/bitcoin,lateminer/bitcoin,MarcoFalke/bitcoin,sstone/bitcoin,MarcoFalke/bitcoin,mitchellcash/bitcoin,particl/particl-core,prusnak/bitcoin,tecnovert/particl-core,bitcoinknots/bitcoin,achow101/bitcoin,domob1812/bitcoin,vertcoin/vertcoin,qtumproject/qtum,instagibbs/bitcoin,tecnovert/particl-core,peercoin/peercoin,andreaskern/bitcoin,jonasschnelli/bitcoin,vertcoin/vertcoin,litecoin-project/litecoin,domob1812/bitcoin,Xekyo/bitcoin,mm-s/bitcoin,fanquake/bitcoin,ElementsProject/elements,achow101/bitcoin,jlopp/statoshi,anditto/bitcoin,dscotese/bitcoin,namecoin/namecoin-core,instagibbs/bitcoin,bitcoinknots/bitcoin,JeremyRubin/bitcoin,AkioNak/bitcoin,jambolo/bitcoin,kallewoof/bitcoin,yenliangl/bitcoin,ElementsProject/elements,jlopp/statoshi,jlopp/statoshi,peercoin/peercoin,MeshCollider/bitcoin,DigitalPandacoin/pandacoin,GroestlCoin/bitcoin,namecoin/namecore,peercoin/peercoin,lateminer/bitcoin,instagibbs/bitcoin,alecalve/bitcoin,jamesob/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,sipsorcery/bitcoin,qtumproject/qtum,namecoin/namecore,ahmedbodi/vertcoin,yenliangl/bitcoin,Sjors/bitcoin,cdecker/bitcoin,rnicoll/dogecoin,tecnovert/particl-core,andreaskern/bitcoin,pstratem/bitcoin,alecalve/bitcoin,particl/particl-core,MeshCollider/bitcoin,midnightmagic/bitcoin,AkioNak/bitcoin,peercoin/peercoin,qtumproject/qtum,instagibbs/bitcoin,dscotese/bitcoin,dscotese/bitcoin,Xekyo/bitcoin,cdecker/bitcoin,rnicoll/bitcoin,rnicoll/dogecoin,prusnak/bitcoin,jambolo/bitcoin,vertcoin/vertcoin,kallewoof/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,vertcoin/vertcoin,lateminer/bitcoin,particl/particl-core,vertcoin/vertcoin,practicalswift/bitcoin,bitcoin/bitcoin,alecalve/bitcoin,apoelstra/bitcoin,namecoin/namecoin-core,mruddy/bitcoin,namecoin/namecoin-core,lateminer/bitcoin,pataquets/namecoin-core