When militant organizations lose militarily but win politically