Mehsud signed a peace deal with Pakistan 's army in September 2006 in which he promised to deny shelter to foreign al-Qaida fighters in exchange for an end to military operations in the region and compensation for tribesman killed by the military .