Update for deprecation of infs
Check type of function value, and fix type of initial t in interior-point

When the parameters are Float32, the return value of the function had
better be, too, or we could be fooled about the precision.
Make hz_linesearch! more robust against floating-point oddities
Modify some asserts that were causing trouble for non-convex domains