France is allowing health care workers who are infected with the coronavirus but have few or no symptoms to keep treating patients rather than self-isolate, an extraordinary stopgap measure aimed at easing staff shortages at hospitals and other facilities caused by an unprecedented explosion in cases.