delete-block ignores already deleted blocks
Fix bug with empty infinite loops
Fix bug in Ir normalization
Fix unreachable blocks removing