You have to re-target every job to the new device by edituing the job properties
Once that is done you shoudl be able to delete the old device from teh devcies screen - note if the Delet ooption is greyed out on the old device, then try selecting the online option and accepting the warning message - which should then free up the delete option.