mergeIconTransformations

Merge transformations.

Flips are combined, so two flips cancel out, and rotations are added modulo 4. Only the resulting non-default values are present on the returned object.