Fix shred module

- Shred on delim and if element has mismatched parens, concatenate
  next element until parens match.