RRAM-based fault-tolerant Binary Neural Networks