Tough Stand by India’s Modi on Militants Raises Risks With Pakistan