A clarification is needed here. She was not burned to death. She died in another way, but the corpse would be burned as a warning to onlookers. An example of such a 2-step process involving the command to burn was seen in the book of Joshua. Death by means of the Law was never meant to be prolonged torture. It was swift. The God of the Bible finds burning people alive disgusting.
"And the one who is caught with the thing devoted to destruction will be burned with fire, he and all that belong to him, because he has violated the covenant of Jehovah and because he has committed a disgraceful act in Israel."
- Joshua 7:15
"Joshua said: 'Why have you brought disaster (or "trouble; ostracism.") upon us? Jehovah will bring disaster upon you on this day.' With that all Israel stoned him, after which they burned them with fire. Thus they stoned all of them."
- Joshua 7:25
"Furthermore, they built the high places of Ba'al in the Valley of the Son of Hin'nom, in order to make their sons and daughters pass thru the fire to Mo'lech, something that I had not commanded them and that had never come into my heart (or "had never entered my thoughts.") to do such a detestable thing."
- Jeremiah 32:35
I'm not sure what connection you are making here. This isn't a reference to a specific girl who was burned to death. This is God commanding Moses to say to Aaron to tell the priests (among other things) if your virgin daughter has sex, to burn her to death. Also, he should only marry a virgin from his village, and if his kid is a crippled, they shouldn't be a priest:
1Then the LORD said to Moses, “Speak to the priests, the sons of Aaron, and say to them:
‘No one shall defile himself for a
dead person among his people,
2except for his relatives who are nearest to him, his mother and his father and his son and his daughter and his brother,
3also for his virgin sister, who is near to him because she has had no husband; for her he may defile himself.
4‘He shall not defile himself as a relative by marriage among his people, and so profane himself.
5‘They shall not make any baldness on their heads, nor shave off the edges of their beards, nor make any cuts in their flesh.
6‘They shall be holy to their God and not profane the name of their God, for they present the offerings by fire to the LORD, the food of their God; so they shall be holy.
7‘They shall not take a woman who is profaned by harlotry, nor shall they take a woman divorced from her husband; for he is holy to his God.
8‘You shall consecrate him, therefore, for he offers the food of your God; he shall be holy to you; for I the LORD, who sanctifies you, am holy.
9‘
Also the daughter of any priest, if she profanes herself by harlotry, she profanes her father; she shall be burned with fire.
10‘The priest who is the highest among his brothers, on whose head the anointing oil has been poured and who has been consecrated to wear the garments, shall not uncover his head nor tear his clothes;
11nor shall he approach any dead person, nor defile himself
even for his father or his mother;
12nor shall he go out of the sanctuary nor profane the sanctuary of his God, for the consecration of the anointing oil of his God is on him; I am the LORD.
13‘He shall take a wife in her virginity. 14‘A widow, or a divorced woman, or one who is profaned by harlotry, these he may not take; but rather he is to marry a virgin of his own people, 15so that he will not profane his offspring among his people; for I am the LORD who sanctifies him.’”
16Then the LORD spoke to Moses, saying,
17“Speak to Aaron, saying, ‘No man of your offspring throughout their generations who has a defect shall approach to offer the food of his God. 18‘For no one who has a defect shall approach: a blind man, or a lame man, or he who has a disfigured face, or any deformed limb, 19or a man who has a broken foot or broken hand, 20or a hunchback or a dwarf, or one who has a defect in his eye or eczema or scabs or crushed testicles. 21‘No man among the descendants of Aaron the priest who has a defect is to come near to offer the LORD’S offerings by fire; since he has a defect, he shall not come near to offer the food of his God. 22‘He may eat the food of his God,
both of the most holy and of the holy,
23only he shall not go in to the veil or come near the altar because he has a defect, so that he will not profane My sanctuaries. For I am the LORD who sanctifies them.’”