The release is part of a new ceasefire deal after weeks of deadly clashes along the Thai-Cambodia border.