Expanding the Middle East’s energy pipeline network has potential pitfalls but also promise.