Their partners can help by thinking in advance about where conflicts are likely to arise and making realistic plans for how to cope with those conflicts. I'm a little skeptical about role models. For one thing, children get information about gender from lots of different quarters. What happens at home is just one part of the mix. That said, parents can encourage children to be flexible rather than stereotyped in their interests, their friends, and their aspirations.
Parents can also learn about gender schemas and explain to children how they work.
A child can understand the height experiment. A child can understand that we see a man at the head of a table as the group leader but aren't as likely see a woman at the head the same way. A child can understand that a woman loses out when she's not perceived as the leader she is. If parents convey that information neutrally, their children will have better mental tools for understanding what goes on. In another direction entirely, parents in general fall down with their daughters by not expecting enough of them in areas like math and science.