The Nasdaq index will require all its listed companies to have diverse boards, or explain why they do not.