WORCESTER — The U.S. Senate on Monday voted to confirm Brian E. Murphy, a Worcester-based criminal defense attorney, as a judge of the United States District Court for the District of Massachusetts.