$6 billion in frozen Iranian funds said expected to reach Qatar within days, triggering mutual release of inmates; Iran will be able to access money only for humanitarian purchases