Remove redundant subexpressions (with only single child)