Ailing Spanish baker Panrico has agreed to resume partially paying staff after talks with union officials.