applyRefac now returns the value from the refactoring being applied,
as well as the RefacResult