President Trump took his criticism of the criminal justice system to new heights Thursday, prompting alarm from national security and law enforcement officials who fear the president is seeking to protect himself from encroaching investigations at the expense of lasting damage to institutions.