EU backs refugee plan in teeth of east European opposition