Most translations says the earth "was" and not "became" as your translation has it.
I am aware that most English translations do not say "became."
Some translators do. And some have pointed out that the same word usage is used in Genesis 19:26
where the English usually reads "But his [Lot's] wife looked back from behind him, and she BECAME a pillar of salt."
You may not realize it but in believing that God first created a chaotic mess and then fashioned it into something meaningful you are adopting the cosmogeny of most ancient pagan mythologies.
So while you are concerned that I am skating close to modern evolution theory, I'm concerned that you are unaware that you are being enfluenced by ancient Greek, Roman, and Babylonian creation myths.
However, if we took the first verses by itself as it seems to indicate it should be taken, we are only told in the divine record that God created the heavens and the earth in the beginning.
You are reading into that that God created a messy chaos.
The idea of the text is that God did not complete the earth and it was not ready for habitation at the end of the first day.
It says God said "Let there be light."
You are supplying your interpretation that that means God created light. This is not necessarily the meaning.
As a matter of fact both the Apostles John and Paul, when utilizing this passage speak in terms of light not being able to be hindered by darkness.
"And the light shines in the darkness, and the darkness was not able to overcome it." (John 1:5)
"Because the God who said, Out of darkness light shall shine, is the One who shuned in our hearts ..." ( 2 Cor. 4:6)
Both of these NT passages could be understood as light busting through an opposing darkness which is not able to obscure its glory.
"Let there be light"
therefore does not have to mean God CREATED light at that time. It could mean that the temporary opposing darkness was rebuked and restricted.
The earth may have lain in darkness after a divine judgment for a long time.
The earth was covered with water and without any source of light and therefore God created light. There is no gap in time as some try to say with their "Gap Theory" of creation.
There is probably an interval of unspecified time between Gen. 1:1 and verse 2. God judged a previous world and it may have lain in darkness and emptyness for billions of years.
The anointed cherub was unable to do anything about it as he could not create anything completely original. This would explain why he is on the scene at man's creation. It also goes would explain his intense hatred of man and his desire to derail God's new administration with Adam.
There details of this are strongly indicated elsewhere in Scripture.
On the second day God works on the heaven just above the earth before turning back to work more on completing and preparing the earth for habitation on the third day. By our modern count that would be a period of 72 hours.
He may have done some preparing and completing in a sense other than CREATING.
After all if we look at the sequence in Zechariah 12:1 God is said to have stretched forth the heavens laid the foundation of the earth and formed the spirit of man within him.
If that is sequencial that would have God stretching forth the heavens prior to laying the foundation of the earth. See Zechariah 12:1
So the appointing or making of the great light of the sun was probably just allowing it to shine through the obscuring haze. The Hebrew word can be translated as light holders or light bearers. So rather than Him creating the sun He appointed of made the light holder of the sun.
Previous to this appointing the light in the sky was diffuse and difficult to localize to the seer.