Microsoft slashes jobs to realign business groups, roles