Had I been the cop and observed everything as you have described it, I would have let you off with a warning.
Unless it's an emergency, I would say sit at the light no matter how long it takes. If it really is malfunctioning and enough traffic gets backed up the cops will come along shortly and get everyone on their way with no need to do anything unlawful.
Yep. Because cops have a monitoring maching they're looking at a 5:30 in the morning that let them know right away when lights are screwing up so people should just sit there and wait a couple minutes for the cops to get there and take care of it.
That, or I live in the real world where I'd be waiting at that light for an hour for a cop to get there.