Western officials see the U.N.-backed government as a way to stabilize Libya, which has been caught in fighting and rivalry among competing armed factions since the 2011 civil war that toppled veteran leader Muammar Gaddafi.