Part of #36692: This splits it into one test case per policy rule, each building its own transaction.
The first commit replaces g_dust and g_bare_multi globals by a StandardPolicy struct, which defaults to the node defaults and is passed to each check, e.g. CheckIsStandard(t, {.max_op_return_relay = 83}), so no case changes policy for another.
Second commit splits test_IsStandard into independent test cases i.e. one test case per policy rule. Each starts from its own standard transaction built by a new MakeTx helper. Since transactions are no longer carried over between checks, some values that are irrelevant to the rule under test differ from before.
Third commit builds IsStandard test transactions declaratively. Each check constructs its transaction in one expression instead of mutating a shared one. CheckDustThreshold helper also deduplicates repeated "not dust at the threshold, dust one satoshi below" from test cases.