In Riyadh, Yemen leader accepts deputy PM's resignation