dm: Tidy up 'dm tree' output when there are many devices