Complement-mediated neurotoxicity is regulated by homologous restriction