Elden, all the tank cars you mentioned could be dedicated to one particular load.
Just think of how difficult it is to clean out even the smallest tank car. What would you do with the cleaning solution?
Cars containing petroleum based materials might not be so segregated. During WWII cars used to ship crude oil were refilled with refinery products after a cursory cleaning with steam.