Sri Lanka says rebel leader agrees to talks