fix possible un-rooted tuples in calls to jl_apply_type