Jonathan Rea's World Superbike career ends a race earlier than planned after he crashed out of the Superpole race at Jerez.