Support merged return type inference for auto functions and lambdas with multiple return statements.