Senate confirms DOJ nominee who once pushed essay comparing cops to the KKK