Add IdeSlave functionality to generate an in-place refinement of a metavariable