Flatten sequences

The current situation will result in nested sequences which are somewhat harder to work with.
This commit does not influence the code-generator in any way, but is does make working with
the processed AST easier since you do not have to worry about nested seqs.