Bob,
Sorry, It does look like a mess. It seem to me you are assuming, all the hot water pipes thru out the house are in a simular condition as the section that deteriorated. I hope your assumption is incorrect.
I had a simular condition in a 1/2 bath in the lower floor of my home. It is also...