Loose alliance of left-wing parties becomes biggest parliamentary bloc as vote delivers hung parliament.