After half a decade of bloody fighting, a resurgent military faces a determined but splintered armed resistance.