Chaotic scattering in heavy-ion reactions