A bomb claimed by Islamic State at a Syria-Turkey border crossing killed at least 25 people, most of them foreign-backed Syrian rebels, and wounded dozens more on Thursday, witnesses said.