Undercover officer arrested in SUV-motorcycle gang attack