The tone is different, but the substance of President Obama’s foreign policy has much in common with that of his predecessor.