An election rout leaves Congress with a shattered dynasty