North Dakota lawmakers have passed legislation that will substantially reduce the state's share of revenue from pari-mutuel wagering.