Democrats 'had a dud election' and did 'nowhere near' as well as they expected