#353 - When using next states, terminal masking can create empty batches. Do simple resampling until we have at least one index.
#353 - When using next states, terminal masking can create empty
batches. Do simple resampling until we have at least one index.

reinforceio/tensorforce,lefnire/tensorforce