'Refugees' safe return as important as fighting terror'