‘Pakistan determined to root out menace of terrorism’