I continued to have similar problems whenever I tried to install/activate Jetpack. I eventually moved on to a different plugin which is giving very high Pagespeed Insights scores, so I will stick with it for now.
Thanks for the attempts to help. If I run into problems with that plugin, I may try Jetpack again.