which law authorized the president to arrest and deport immigrants who criticized the federal government and limited the free speech of Americans