Pakistan acts on extremists but military support in doubt