bootindex: delete bootindex when device is removed