Remove add_state function of batches
Calls to add_state from modules other than the batch module are removed. Now, we always deal with contiguous memory in batches and can simplify some logics of batch handling. Also, usage of one-time batches is now easier.
- I have checked that my code follows the Octopus coding standards