Maybe define a constant STANDARD_NOT_MANDATORY_VERIFY_FLAGS that's `(STANDARD_SCRIPT_VERIFY_FLAGS & ~MANDATORY_SCRIPT_VERIFY_FLAGS)` instead of doing the bit twiddling here inline, twice.