US ambassador calls for avoiding violence, political rift in Libya