for what reason did the immigration act of 1882 allow federal officials to reject some immigrants from entering the united states