I assumed from the beginning that Tarkin was ethically loyal to ruling order of the day.
I never saw him as an arch-villain but more a pragmatic military leader who saw ruthlessness as necessary to insure order and stability.
He thinks he is doing the right thing.
I assume he would have acted in a simular manner during the last days of the Republic which even pre-PT seemed to be a time of chaos and unrest.