The hard-line Muslim cleric who has mediated peace talks between Pakistan and the Taliban in the Swat Valley left the northwestern district Thursday , denouncing President Asif Ali Zardari for failing to sign off on imposing Islamic law in the area .