Vermont has agreed to a legal settlement that will allow a Connecticut woman to be the first out-of-stater to take advantage of its decade-old law that allows people who are terminally ill to end their own lives.