More than a thousand prisoners have been released from detention from both sides in Yemen’s conflict, in the largest prisoner swap since the start of the conflict in 2015.