Using non lethal weapons on pirates is stupid. They might be warded off in one attack but are likely to just try again. The need to be jailed or fired at with deadly weapons.
The dazzler will probably work in conjunction with some other device. It will help to prevent a small craft from approaching a merchant vessel, but remember all they have to do is shut their eyes or put their hand in front of their face. Maybe a high voltage stun-gun water cannon as well?
Why not just put that tactical laser system (the one that's mounted on a jet) on a ship... ship is probably nuclear powered. That is, assuming they don't miss and flash boil half the ocean.