Porter pays £12m to end vote scandal