Revert "[export] Constraints API (#98433)"
This reverts commit 1510eb4072b103ef2a10d415067e9d70954efb64.
Reverted https://github.com/pytorch/pytorch/pull/98433 on behalf of https://github.com/izaitsevfb due to Breaks internal tests, asked by author to revert