Guðmundur Ingi Kristinsson, þingmaður Flokks fólksins og fyrrverandi menntamálaráðherra, hefur sagt sig úr flokknum.