An automobile is required to have brake lights at all times. A daytime golf cart is not required to have brake lights. So as far as I can tell, there was no offense in having no brake lights working. Cops are not supposed to be harassing citizens to try to get them off the streets. If they are obeying the law they are entitled to the same treatment from law enforcement as you or I. You cannot charge someone as a habitual offender if they are not committing an offense. That is an add on feature based on the number of points you have accumulated.
Habitual Offenders | Florida DMV Regulations