Automatically renumbering element parts in Eagle
Although Tom Carpenters anwser is right, I am adding this as an alternative. 

Eagle already has an inbuilt tool that will allow you to renumber parts without the need for external ULP scripts.

In your schematic editor in your menu, open "Tools" and click "Renumber parts". This will automatically renumber all your parts in the schematic as you wish.