Obama gets diplomatic coup before heading to Jordan