[IR] Update CreateCatchRet to take a return value