Neuron deregistration has been reworked to be based on emissions to combat several scenarios where immunity was being abused by disingenuous subnet owners. Specifically this change removes trust , rank and pruning_score and instead selects a neuron for deregistration based on immunity , emission , reg_block , and then uid. For more details see PR 2158.