Refactor: scheduler: track node a pending task is on
This will allow us to assign a unique anonymous clone instance number to a node
with a pending task, even if the node will not be running the instance in this
transition (e.g. stopping, probing).