Mycroft: Tracing Dependencies in Collective Communication Towards Reliable LLM Training