Trump threatened to invoke the rarely used act if officials failed to quell protests against ICE agents.