Baquer Namazi, an Iranian-American who has been imprisoned in Iran since February 2016, has been discharged from an Iranian hospital and granted a four-day leave by the Iranian government, according to his family and the State Department.