The left wing mayor of the northern French town of Annezin, Daniel Delomez, has announced his resignation after residents in his town voted for anti-mass migration Front National leader Marine Le Pen.