Turkey is to allow Iraqi Kurdish fighters to cross the Syrian border to fight Islamic State militants in Kobane, in what is being seen as a policy reversal.