The scramble came after institutional investors set rules to vote against firms with few or no female board members.