Sri Lanka gives Tigers ultimatum as thousands flee