So-called Islamic State says it was behind a triple suicide attack on Kurdish forces in Syria, killing at least 22 people.