Why Mitt Romney got it both right and wrong on the Middle East