Optimal allocation of the diagnostic signals for the ITER magnetic control system