We had some hacky code in makePermissionsForChildrenBlob that was intended to strip the propagation prefix.
At the time it was written, there were only two prefixes, so it was easy to strip the propagation prefix by just constructing a new permissions string using only the filter prefix.
Now that we have three prefixes, it makes sense to do this in a more idiomatic way. This diff introduces constructThreadPermissionString, the inverse of parseThreadPermissionString. It allows us to construct a new permissions string based on a ParsedThreadPermissionString where we have cleared the `propagationPrefix.
Depends on D13015