Chaotic scattering in heavy-ion collisions