The North Carolina legislature gave final approval Tuesday to a bill allowing the state’s leading health insurance provider to restructure despite criticisms from the state insurance commissioner that it would erode his regulatory authority and undermine his ability to protect consumers.