Obama gets diplomatic coup before heading to refugee-flooded Jordan