Pistons 'grind it out' in win over Pacers