Members of the EU Parliament sang Auld Lang Syne as the Brexit withdrawal agreement was approved.