The agreement could mark the end of a near year-long dispute between the Central Asian state and Centerra.