US dairy major Dean Foods is to shut a factory in the state of Kentucky in September.