On Minn., SD border, ceremony marks Dakota war