fix 2315 by checking scale == 0
add regression test
Merge pull request #2315 from keflavich/divbyzero_units_utils_2315

u.deg.is_equivalent(0*u.deg) results in div-by-zero