Defeated at home, Obama looks abroad to secure his legacy 3 years ago