Senator Judd Gregg said there were “irresolvable conflicts” between him and the Obama administration.