Police thought they had caught a car thief in San Francisco. Instead, they had mistyped his license plate number, a watchdog agency said, then arrested him with excessive force.