Water Management in Process Industries Incorporating Regeneration and Recycle through a Single Treatment Unit