Theresa May called for Brexit talks to "accelerate and intensify" after she left a stormy European Union summit dominated by the migration crisis.