EU may change legal status of millions of Ukrainian refugees