Two asylum seekers, brought to Australia under the medevac legislation repealed in 2019, have been freed from detention.