A judge sided with Uber Technologies Inc. in its complaint that American Transit Insurance Co., the largest taxi insurer in New York City.