Use of force by federal agents has become a focus of legal disputes as the Trump administration contends the tactics are necessary.