A complement–microglial axis drives synapse loss during virus-induced memory impairment