Split from MONGOSH-1035, in the legacy shell NumberInt(NumberInt) is just NumberInt but mongosh throws with a type validation error instead. This seems like a bug.
Also, the legacy shell accepted NumberInt(null) for 0. I feel like we should have a short conversation about the desired behavior here.