To deploy the armed forces, Trump would need to formally invoke a group of statutes known as the Insurrection Act.