Scientists developed a way to end the brutal practice of killing male chicks