New York Times confirms non-newsroom layoffs, including an in-house lawyer and minorities