To workaround this issue, disable file services with no file shares created, and then re-enable the file services with the new configuration.
The first disable operation will clear all the domain configurations when there are no file shares in the cluster.