The git plugin does not apply changes to the sparse checkout definition to the workspace.
A workaround in Pipeline is to use deleteDir() in the Jenkinsfile when making this type of structural change. The workspace will be removed by the call to deleteDir() and then the currently defined sparse checkout will be applied to the fresh checkout.