Law firms don’t want their office return plans to get derailed by outbreaks, or even just the fear of spreading the virus, analysts and leaders say.