Fix a crashing bug in SplitBlock when it is called on a block with no