Manchester United booked their place in the last-16 of the Europa League to end the league phase unbeaten, while Tottenham struck three times in the second half to follow them through with a win over Elfsborg.