Pak-Afghan cooperation critical to eliminate terrorism: Ambassador