The “spaces” appear because the images you are registering do not cover the same spatial extent (at least after registration). The missing space has to filled by some value, see SetDefaultPixelValue. The default value is 0 by default, but for CT images more appropriate default is -1000 or -1024.
BSpline transform is not necessarily invertible. See this discussion for possible alternatives.