''Are you harder to create, or the heavens that He built? He raised its canopy, and He gave it order and perfection.
Not really... Systems being affected drastically by slight changes in initial conditions is not really order....
And He made dark its night and brought out its light. Then after that He spread the earth''. (An-Nazi'aat 27-30)
First he raises a canopy and makes it dark and then he spreads solid ground under it. My impression is that this is the sky, and then the ground was spread beneath it. If you are referring to geological processes that formed the Earth then it is a very inaccurate description.
Of course I can not prove God meant this, and of course my bubble model incorporation is mere speculation. My aim here is to simply demonstrate the two verses need not contradict each other and indeed todays science.
In addition, your proposal that the seven heavens is refering to the sun, moon and 5 known planets at the time to me appears flawed. Since there is of course the verse which says:
It is a possible interpretation but only because you know what the bubble theory is, and the verse is so vague and short that you could make it mean anything. One would expect an almighty creator to be a bit more specific about what he meant and provide an accurate description that could not be doubted. There is no contradiction with science because the verse is so vague that you can simply make it mean anything you like, and that is not much of a miracle. I could also write stuff like that.
This is the same thing as with the Book of Nostradamus. Full of vague verses that could mean anything. Up til now no one has managed to predict a specific future event using his book.
It appears that God is referring to the lower heaven i.e. our universe as containing the stars. This is contradictory to the notion that one of the heavens consists of either the the moon, sun, or one of the five known planets. Indeed a claim that I have discussed previously is the accusation that the seven heavens of the universe is meant to be a plagiarisation of the precorpernican model. If you are interested in this and other points regarding science and the Quran you can visit my blog. Simply type 'abuyunus2' into google search and click the 'A response to Abooali' link.
Or it could imply that the stars were added to the lower heaven (already containing something else) for decoration, which is also wrong scientifically...