James Bennet resigned from The New York Times over controversy around his editorial decisions, ending a decade as a top editor.