Evolution can only occur so often though. It must occur in multiple organisms at once and its chances for succeeding become smaller everytime.1 cell to copy 1:1 probability of success. 2 celled organism to copy 1:2 chance of success,so on and so forth. You yourself just said this is just a bunch of chemicals and only self-replicates. Eventually it will reach where it needs to breathe and eat. When it does, it will have no prior info about these things. It needs to learn how to eat, what to eat, how to breathe, etc. Seeing as how single-celled organisms crawled out of the sea we do not yet have to worry about dehydration.