Wrap more constraint violation cases to UserError (#100897)
Cases covered in this PR:
- Example inputs conflict with input constraints
- Example inputs conflict with inline constraints
- Suggest users to use `constrain_as_*()` when trying to export with data-dependent operations
Differential Revision: [D45666627](https://www.internalfb.com/diff/D45666627)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100897
Approved by: https://github.com/avikchaudhuri