US president gives Putin a reprieve on threatened energy measures after cutting deal with Moscow to release diesel