A Polynomial-time Decentralised Algorithm for Coordinated Management of Multiple Intersections