IBM tops Q4 earnings while announcing job cuts