Improve automated validation of transactions that use hash types
besides the typical SIGHASH_ALL.