DNA taken from victims found in a mass grave near Mosul will be compared with possible relatives.