The court exempted grandparents, other family members and thousands of refugees from President Trump’s travel ban, now under Supreme Court review.