This intention converts a return with a when expression as a result to a when expression where each branch is terminated with a separate return.