Can you please elaborate the issue, since I was able to set Param.Remove using the same function and the data transform got saved.PFA the below snippet of the data transform.
Alternatively if the above function is not working in your context you can always use the Remove action of data transform to remove the properties and if the properties does not belong to primary page you can use update page action and then use Remove action to remove the properties.