fix parallel tempering deconstructor

sometimes the barrier is already gone when the chain is deleted. This is unlikely to be a problem.