fix cancel-factors transform to work with Product/Expression refactoring
fix cancel-factors transform to work with Product/Expression refactoring

kevinbarabash/mobile-mathipulator,Khan/algebra-tool,kevinbarabash/mobile-mathipulator,Khan/algebra-tool