re #9014: Move the reducer_singleton to scripts folder

This is to allow Indirect to use the same module. And because it is not
strictly related to SANS.
re #9014: Move ReductionStep to reducer_singleton module

After discussion, this allows Indirect to use all they need to implement #9093.