A client with a subdural hematoma becomes restless and confused, with dilation of the ipsilateral pupil. The physician orders mannitol for which of the following reason