The transition from vortex liquid to vortex slush in YB2Cu3Oy superconductors