Imperial Oil mostly leaving Calgary as it slashes workforce