Just need to remove branch instruction when matching compare has been removed

Empty blocks are also not removed.