...in feature_pruning.
Also add an assert to assert_start_raises_init_error that the node is
not already running.
The change in feature_coinstatsindex test is not relevant since we bypassed that assert_start_raises_init_error by squashing two pull requests in D17714
This is a backport of core#25034