Northern Ireland police say violence in the town of Ballymena, reportedly fueled by racial tension, have left 32 officers injured.