Only purgeID on ReactDOMComponent unmount

Fixes #1567 
This was the only place using `ReactComponentEnvironment.unmountIDFromEnvironment` - can we probably get rid of that now.