US asks Pakistan to ensure territory not used for planning terror attacks in India