upload-pack: move "unshallow" sending code out of deepen()