What was the thinking behind them? I suspect they were not built with them and were a modification under BR?
Maybe a visual aid to let deaf people know the doors are about to shut. You are right they were a modification, under BR the fact the door was closing was enough to let you know you should get out the way of it. (and the light on the open / close buttons went out)
Im not aware of anyone having had a fit enduced by the flashing light - certainly not on any of the 156s Ive ever worked!! Its not actually that bright either by day or at night when the saloon lighs are on.
My epileptic uncle has absolutely no reaction at all to strobe lighting. In fact a group of epileptics including him went to a bowling alley with strobe lights and no one had a fit.I'm not aware of anyone having a fit, but I seem to recall a fellow crank who has epilepsy getting a headache if he was to stand near the door of a 156. I think he has some sort of medication so the strobes don't trigger fits, but still, it doesn't seem ideal to have strobes in a place where you can't really avoid them.