As countries assess which migrants can stay, Europe is struggling to define “safe”