NBC: White House lawyer who advised Biden on GOP probes and pandemic is set to leave