Gender Gaps in Economic Participation and Legal Restrictions