Fix multilabeling with datadefined value

The previous implementation incorrectly handled data-defined values for the repeat distance. This commit fixes this.