There is nothing wrong with attempts to solve the individual grievance without reference to the terrorist group. The aim of resolving the grievance is to prevent more people joining the extremists and to isolate them from the people. When this is done it will be much easier to catch the people who are responsible for the terrorist atrocities and bring them to justice. Being willing to negotiate with the terrorist group on the other hand will likely lead to some of the concessions being that terrorists or former terrorist manage to escape justice for their acts as they will want such an amnesty to be a part of the concessions they receive in return for giving up violence.