Indiana man sentenced in attack on Michigan state trooper