Iran's Vice-President Mohammed Javad Zarif is resigning, leaving President Massud Pezeshkian's cabinet just 11 days after his appointment.