Similar to work described in SERVER-46716, but a different code path. In this case, we fail to construct a real ExpressionContext here
Support 'let' variables in the delete command
Support 'let' variables for the find command in sharded deployments.
Support 'let' parameters for findAndModify in sharded environments