Refactored the left/right decision making into its own function. Used it to replace the decision in Splitter.node_split's final partition with the new logic.