Pakistan said to play both sides on terror war