Pseudo twirling mitigation of coherent errors in non-Clifford gates