North Dakota school board reinstates pledge of allegiance