San Jose nears pay deal for cops