A surprise alliance of Maoist former fighters and the Communist Party in Nepal has garnered a surprise victory and a huge defeat for the Nepali Congress party.