Fix assignment of tasks to dead trackers.

Sometimes after we kill a tracker, we try to assign tasks to it because
the heartbeat expiry period hasn't been reached.

CC @airbnb/di