Obama didn’t get all his own way at the Supreme Court