Fix TryToShrinkGlobalToBoolean in GlobalOpt, so that it does not discard address spaces.