Uncovering the patterning mechanisms governing notochord segmentation and spine evolution