Optimization: Fuse consecutive repeated operations

Eg: +++ becomes 3+