This is why having this chord (dim maj7) in the library as stand alone chord is important.
The other reason is that other chords could be built with a dim maj7 using slash chords.
For ex: flamenco music often uses chords such as CdimMaj/B