Canonicalize includes in torch, and add tests for it (#36303)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/36303
Test Plan: Imported from OSS
Differential Revision: D20943003
Pulled By: ezyang
fbshipit-source-id: 81fcbaccc1a7eec422bd8347d196bb66a5467884