For that all non state actors need to cease their activities from across the LoC and inside the valley. I am sure Pakistan has enough pull with Kashmiri who joined militancy to give up arms and work for a peaceful solution.
The logical option is to descalate and make sure no terror groups are there on Pakistani soil and come forward and join hands with India in fight against poverty and other ills keep our region backward.