Talks with UN nuclear agency signal republic could be willing to make compromises on nuclear programme