North Dakota must pay attorney fees, expenses in tribal vote