Reform councillor resigns triggering by-election in Barnsley