Dimension Reduction for Symbolic Regression