It'll be fine. A pistol shrimp's snap is ment to scare off threats, they are not carnivours nor are they capable of actually shooting something.
My 3" tiger pistol gets along perfectly fine with my camel, pep, cleaner, fire, sexy, and harlequin shrimp.