Removes redundant parentheses