The unions and the Italian government signed a deal Wednesday that averted work stoppages between January 31 and March 23 .