Renormalization group treatment for the electronic spectrum of partially ordered one-dimensional alloys