Gov. Maura Healey signed a law Wednesday that bans the sale of puppies and kittens under eight weeks old, as well as the roadside sale of animals, her office said.