The Swiss parliament has taken steps to rehabilitate those convicted by Swiss courts for supporting the French and Italian Resistance during the Second World War.