I think having small batteries on each train so some difficult places can be de-electrified, like complicated pointwork, would help. I am thinking enough power for about 400 metres ish, which would get you through most station throats.
It is pointwork where most track workers would be, I think...