EU commissioner tells Bosnia to manage migration better