Assisting failed trains on shared track