Jonathan Rea has won the WorldSBK championship for the sixth time after Scott Redding's bike stopped with 16 laps to go.