separate function

Separate an editset into its disconnected blocks and simplify