For Obama and Xi, fight against Islamic State a brief moment to agree