Remove intellij-core from dependencies of modules which already depend on frontend or any module that exports frontend (such as frontend.java)
(cherry picked from commit 82dcbf3)
(cherry picked from commit 1214513)