Mr. Petraeus had cancelled his scheduled appearance before the Senate panel on Thursday after he resigned as CIA director on Friday amid revelations he had an extramarital affair with his biographer, Paula Broadwell.