Although many countries tried to isolate Turkey from equation, Libya deal protects Turkey’s rights in region, expert says