Microsoft plans major job cuts