The International Court of Justice will decide on New Delhi's bid to remove an alleged spy from death row in Pakistan.