If institutions lose their tax-exempt status over diversity efforts, they could face a loss of gifts and higher borrowing costs among other hits, analysts said.