For once the cops got it right, and no dogs or elderly were involved.
That is because the off duty cop was acting in the same capacity as a private citizen. Under the law a cop is not required to try and stop those thugs from beating you, only to arrest them afterwards. His actions were no different than if any other armed good samaritan had intervened although he will likely recieve less scrutiny from the DA.