Police, gangs war in Rio slum ahead of PanAm games