Refactor out _unbroadcast_uv from wrapper
Refactor out _unbroadcast_uv from wrapper

Simply handles the dimension reduction after computing the wrapped
function's result. Refactoring it out should make it easier to test more
of the wrapper's behavior.

jakirkham/dask-distance