SHAHABUDDIN, Afghanistan — For the last few years, the 30 or so men camped along a stream in this idyllic village of walled orchards lived as armed bands here have lived for decades, if not centuries.