I agree that arming merchant ships (except in times of war) is opening a can of worms that should remain sealed.
What some companies are doing is hiring private security companies, who escort merchant ships, and I believe put armed teams on some ships. Inasmuch as they are not ship's crew, I think they manage to skirt around maritime law, but please correct me if I'm off base on that.
My regards,
Widewing