They went to Scotland, and are running around Glasgow (minus a carriage) as Class 320s
The oldest 317s are getting on for 40, whilst the youngest are 34 - by all conventional wisdom they are now 'life-expired' - the 321s are between 32 and 29 years old - not quite life expired but at the same time, you'd only expect another 10 years from them. 379s are a modern unit, granted but I wouldn't be surprised to see them found a home before too long - being a variant of the most populous rolling stock family helps them there.
The real 'issue' is that new rolling stock is comparatively cheap and has a whole host of benefits for both passengers and staff (Air Conditioning, more efficient, easier diagnostics of issues, etc) so it's quite frankly stupid not to go for new stock when you can, particularly when accompanied by benefits such as creating uniform fleets.