Subtract algebraic expressions