Handle refactors that directly provide edits instead of commands
Handle refactors that directly provide edits instead of commands

Fixes #3758.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code