Maybe he did kill Fredo with the rifle butt (in case of an eventual autopsy), and the shot was discharged accidentally -- or as a distraction.