The Massachusetts governor transported the migrants off of Martha’s Vineyard after their unexpected arrivals.