When you merge them in the correct direction - into the lowest number when spelling is identical, you will see the relationships come with it.
When completing the merge, parents and spouse will show up the merge page. Make sure that the dial buttons are checked off and they will go over in the merge. Children will automatically go with the merge.
So any relationships on Miles-6547 will go over to Miles-5251. Nothing will be lost.