ISPN-3120 StateConsumerImpl can ignore state received during a rebalance

* Receiving state shouldn't finish the rebalance before all the added
  segments have a source.
* When all the owners of a segment leave and new owners are assigned, the
  new owners should not request state for those segments.