Labour provincial councillor quits over ‘mosque influence’ 5 years ago