Protected heterocyclic intermediate