When handling E501, try to keep parens balanced