Stability Analysis of Distributed Railway-Traffic Control