Massively-multiplexed generation of Bell-type entanglement using a quantum memory