Senators voted nearly unanimously on a law that would be one of the tightest regulation on the police use of force.