Soldier's wife detained by immigration officials released pending deportation