Consider the risk compensation theory where people take bigger risks when they feel safer. Not sure how true it is with regards to bike helmets, though. I saw there are a few studies but don't have the time to read them.
I usually wear a helmet but am opposed to such laws not because they decrease ridership but because they decrease our freedom to do stupid shit.