Fix Remove action on topLevelFile.
Merge pull request #2386 from dart-lang/fix_remove_action

Fix Remove action on topLevelFile.