Pakistan says it will take its dispute with India over Kashmir to the International Court of Justice, after New Delhi revokes the special status of its part of the region.