Veteran commander vies for power in Libya’s shifting sands