Correct types in redistribute_slots, remove unused variable.
Correct types in redistribute_slots, remove unused variable.

hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,ruthfranklin/hande,hande-qmc/hande,hande-qmc/hande