patch up error behavior of sqrt after 244ec92f55bb5433898c5a859a0cb452aafa1673
export jl_null and jl_subtype. fixes #6156