Fixed optimizer behavior with new line tokens, when we need to remove all imports from block.