Former residents of a remote region of Azerbaijan are heading home for the first time in a quarter of a century.