Prospect of new Mediterranean export routes redraws Baghdad’s relations with Ankara, Erbil, and Washington.