Medical marijuana can interfere with memory and learning, but mice that got pot and anti-inflammatories avoided the detrimental effects. Sophie Bushwick reports