Lebanon's Kordahi resigns to resolve crisis with Gulf states