Based on an earlier patch by Peter Todd, though the rules here are different
(P2SH scripts should not have a CLEANSTACK check before the P2SH evaluation).
@ -822,6 +822,24 @@ See also the corresponding inverted versions of these tests in script_invalid.js
@@ -822,6 +822,24 @@ See also the corresponding inverted versions of these tests in script_invalid.js