Removing location information for if refactorings