If they really want to limit shifts (which I am not in favor of), the best way I think would be to institute a rule that the infielders have to stay on their respective sides of 2nd base before the pitch is thrown. A simple rule that allows for flexibility on defense without imposing a strict limit on shifting.