Length ordinarily describes a particular cloth. But the contract that expressly fixes one dirham per cubit gives each unit a separate role in pricing.
Hanafi commentary explains that an attribute becomes analogous to an independently priced component once consideration is explicitly assigned to it. Requiring the whole price for fewer cubits would then contradict the stated unit rate.
These are terms used to explain price allocation, not a claim that the cloth physically becomes separate garments.