With no military solution in sight, the need for a political settlement with the Taliban will have to be explored with a sense of urgency