WASHINGTON — The United States and Iran have agreed in principle for the first time to one-on-one negotiations over Iran’s nuclear program, according to Obama administration officials, setting the stage for what could be a last-ditch diplomatic effort to avert a military strike on Iran.