[API] Don't set an ERROR'd device back OFFLINE on delete

Change-Id: I6974b7f1466f2842baaffea2b2e93e8edc5e41bf
Merge "[API] Don't set an ERROR'd device back OFFLINE on delete"