tidy up complex division for half- and single-precision

ref #8121
Merge branch 'master' of github.com:JuliaLang/julia