Care home residents 'barred' from voting in local elections because of Covid rules