Judge Sara L. Ellis said she saw “little reason for the use of force that the federal agents are currently using,” and said Gregory Bovino, a Border Patrol official, had lied about his use of tear gas in Chicago.