From checking the item_kinds1.txt, there is no difference in accuracy between the bayoneted and unbayoneted rifles. Although intriguingly, all the rifles only have 75 accuracy, same as NW muskets. That means there is probably something else that factors the accuracy, maybe the troops but if it's that then the bayonet should still not affect accuracy.