One option is to increase the distance between the train and the doors, so that there's enough of a "vestibule" for people to move around in when a mismatch occurs.
I have seen platform doors arranged like what you described at an inter-city railway station. Unfortunately this is unlikely to work for hot and gross subway systems like the NYC subway, where platforms tend to be narrow and overcrowded.