Undo symmetry expansion

See this thread (and the script at the end): Split output for symmetry expansion - #3 by olibclarke

I think this CS tools script should to what you are after (we have used it for basically the same purpose)