Handle functions that have both returns and noreturn calls in function splitter