Hoosiers overcome sloppy stretches for ninth win