If the elk had not been there, the train would still have been late because of the stuck signal. And if the signal had not been stuck, the train would still have been late because of the elk. So neither comes out as a cause of the delay if causation consists in counterfactual dependence.