Picasso’s giant mural about the horrors of war left its first viewers cold. How did this painting become one of the most important in the history of art?