I think you’re getting a little ahead of yourself. Your engine is not junk, and as of right now you should still be considering a refresh IMO. Every cast iron engine on earth has rust flakes in the water jackets, that’s not uncommon at all. Let your machinist have a look, make a plan and follow it. If he says it’s junk then move on to your 5.9.