In a healthcare facility, what is the primary function of a pressure-reducing valve (PRV) in a domestic water system?