IBM logged first-quarter profits Monday that easily surpassed analysts’ estimates, but Big Blue’s sales came in short.