Splitting a critical spin chain