Japan says Iran has released one of two detained Japanese nationals, and the person is now returning home.