WIP: Refactor CoreLint to check that binders are in dependency order
This patch will be used as a basis for a larger patch.
We need to fix #16192 first for this to pass validation. After that we should also revert some of #15939 (closed) so that StgLint also assumes dependencies come before uses.