A police officer was injured and five police cars were damaged during illegal gatherings in Philly