West Virginia’s cities and counties will get $400 million over 12 years from the nation’s Big Three opioid distributors in a landmark settlement announced Monday.