Massachusetts would move closer to fulfilling the vision of a 20-year-old state law requiring parity in care for mental health under a bill the Senate unanimously adopted Thursday.