The European Union has agreed on a landmark deal requiring that companies ensure at least 40% of their seats on corporate boards go to the “underrepresented sex,” which is typically women. The move comes after 10 years of stalemate over the proposals.