Lewis Acid‐Catalyzed Generation of CC and CN Bonds on π‐Deficient Heterocyclic Substrates