It was the second release after the Japanese government announced last month that another citizen had been freed by Iran.