Marine Le Pen's party came in a surprising third in the snap poll despite expectations of a shocking victory.