Pakistan ready for military operation if Taliban talks fail: minister