The chicane gives lagging electrons time to catch up. More massive electrons are deflected less by the magnetic field than lighter electrons, and therefor take a shorter path through the chicane, resulting in a shorter bunch. A chicane consists of four dipole magnets with the following roles: