Microsoft Knowledge Base Article 216498 contains the following summary:

This article describes how to remove data in Active Directory after an unsuccessful domain controller demotion.