What Persian general took advantage of Nasr ibn Sayyar being preoccupied with a civil war?