Optimization of ICRH for core impurity control in JET-ILW