reformat return in divide

Move the return statement explicitly
to the end of function.