Kill declared_type and ignore_check from THFormal. (#26284)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26284
They aren't used anymore.
Test Plan: Imported from OSS
Differential Revision: D17397182
Pulled By: gchanan
fbshipit-source-id: 3f1cc0fd12aa8f8589548640421b206fa7c571e1