Gay marriage is recognized in Massachusetts, so if the two lesbians were legally married, then Walmart is legally obligated to extend the same benefits to them as to any other married couple.
If the two were simply co-habituating, tough luck. Walmart is not obligated to extend spousal benefits to a boyfriend living with his girlfriend, so it shouldn’t be obligated to extend them to a girlfriend living with her girlfriend.
And this charming beast has five legs: