Application of directed metalation in synthesis. Part 6: A novel anionic rearrangement under directed metalation conditions leading to heteroannulation