SACRAMENTO — Gov. Gavin Newsom's director of the California Department of Public Health resigned on Sunday, an abrupt departure of a key advisor in the state's coronavirus battle just days after the discovery of a computer system failure that resulted in the undercounting of COVID-19 cases.