Lebanon emerges from crisis with Iran on top, but risks remain