fix #1019

Fix https://github.com/ceylon/ceylon-ide-eclipse/issues/1019, I believe.

I'm playing the sorcerer's apprentice here, with `CompilationUnits#getLiteralsProcessed`, but it really improves the behavior of clean-import during intermediate build phases. I let you guys check if it makes sense.