First observations of an outbursting comet with the MUSE integral-field spectrograph