Fix segfault from within expected<T>::swap

Fix expected<T>::swap test failing