AbstractDim printing cleanup

Don't print terms with 0 coefficients, for an empty AD or one with all
0 coefficients, print 0.