KT-3273 Return type coalesces to Tuple0 in when/if nested clauses

 #KT-3273 Fixed