Error-resistant Single Qubit Gates with Trapped Ions