fix some cases where Unreachable needed to be propagated in codegen

specifically, where an error-throwing expression was passed to an intrinsic