If the main res pipe was burst you’d have to isolate that vehicle or otherwise the air from the other vehicle would just escape through the hole.None and potentially both.
If your main res pipe has ruptured if it can nick air from another vehicle then you leave the MRPIC open.
If it is a massive rupture and unable to move the entire train you would have to isolate or or even both to prevent total air lost on the train. Which would be the least of your problems to be honest, as you are ending up isolating brakes/parking brakes etc.
Not a good scenario.
If the main res pipe was burst you’d have to isolate that vehicle or otherwise the air from the other vehicle would just escape through the hole.
How did you know there was a crack in the main res pipe?