DDAR was built because of the introduction of the OV studentenkaart, which offered students free travel (in exchange for a little bit of their study loan). NS anticipated this would increase the number of passengers in local services, so it was mostly meant to free up Mat'64 and SGM to lengthen trains.
Actually there weren't 81 DDAR: that's just the number of class 1700 locomotives. There were just 79 driving trailers (cars type Bvk) and the number of possible consists was further reduced as there were only 76 ABv cars (with 1st class) and all DDAR had a 1st class section.
Must have been some spare cars and locos in the fleet therefore. DDAR was technically a loco hauled train, so swapping a damaged car was relatively easy.
The other double deck order was DDIRM (not VIRM, the V stands for verlengd [= lengthened] which happened later).
This fleet was ordered for a new class of train, the Interregio. Hence IR in the name. Here actually 81 sets were ordered, though these are also called "treinstam" and not "treinstel" (the latter translates as trainset) with cars capable of being swapped. Which actually happened: there have been odd consists with a class 86 number (indicating first generation) in which just the car determining the set number being one from the first generation.
Regarding the order size I'd expect it to have been an order for trains with a certain number of seats. DDM-1 already had the odd number of 9 sets. And even with newer trains you'd see those odd fleet sizes: there are 131 SLT, 206 SNG and will be 109 ICNG for example.