Even as the Trump administration has increasingly militarized drug and immigration enforcement, Congress took a step to restrain that trend.