Trim the first ‘duration’ of time from ‘component’.
When ‘component’ is a leaf, shorten duration of leaf.
When ‘component’ is a container, remove contents from container.
Add ties or duration-modification tuplets as necessary.
Return value to be determined.
Maybe return ejected components.