What is the primary purpose of a vasoconstrictor, such as epinephrine, in a local anesthetic solution?