Pakistan to appoint ad hoc judge at ICJ