Fix redirect generation for duplicate api-symbols.
Fix redirect generation for duplicate api-symbols.

PiperOrigin-RevId: 228239900

tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets,tensorflow/datasets