M&A lifts European shares despite Brexit worries