fixed assigning and reclaiming soldiers (#8356, #8346, #8300, #8317)