A small Spanish town that owes its foundation to Francisco Franco will remove the former dictator from its name following a turnaround in local politics.