The agreement ends a legal battle with a descendant over images taken without consent during a pseudoscientific study.