The terrorist group said it would free Edan Alexander, who holds U.S. citizenship, after the Trump administration signaled his importance.