Longtime Minn. legislator, Linda Berglin, leaving Senate