Fix inconsistent organizing and autofixing

If two namespaces end with the same string regardless of case their
aliases will be checked in order for organizing to be consistent.

If an unused use is to be organized, make sure the line swap occurs
and the removed line is correct.