Remove dynesty from __getstate__
This came from an external request to make our Dynesty
object picklable. Here the external_sampler
(which is the dynesty
module) is stored in the object and can't be pickled by pickle.
There may be other neater fixes, if people have thoughts, let me know.