The chinese exclusion act the gentlemen agreement and the national origins act were reactions to earlier united states policies of