[vm] Fix function resolution so that it stops when it finds target even if it can't add method extractor.
[vm] Fix function resolution so that it stops when it finds target even if it can't add method extractor.

The fact that function resolution returned a target led to incorrect range merging for polymorphic instance call sites.

Fixes https://github.com/flutter/flutter/issues/19696
Fixes https://github.com/dart-lang/sdk/issues/37348

Change-Id: If6c53dd322f9788df241baf7071b98906336d2e5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108860
Commit-Queue: Alexander Aprelev <dfb74c35a357c2059971a4bf7fe26b6a7c18085d@google.com>
Reviewed-by: Ryan Macnak <d738b7f001baf9789095d7dc549cff6de60b011d@google.com>

dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dartino/dart-sdk