If your friend has noticed this response in other instances of enzyme over-use, then he may be onto something

Chlorine does knock enzymes out, as I'm give to understand, and you recently shocked, so I don't now if the dx on cloudiness is accurate in your case or not, but do know hat when things like sequestrant, enzymes, phosphate removers "bind" to molecules, as each is designed to do, it can sometimes lead to cloudiness that takes a few days of filtering to clear.
You've also just added calcium, which might be binding. I am not terrifically well-versed in chemical reactions (its all empirical trial and lotsa error with me) so don't put too much stock in my musings aloud
I think my inclination in keeping with your friend's recc would be to check your levels, stabilize that chlorine then keep the level up to make sure you're not getting nascent algae cloudiness, maintain a bit of hardness to offset soft water, wait a week and see if the periodic cloudiness is gone via filtering and if at the same time the foaming remains controlled. I suspect you'll be golden
