Russia’s economy contracted less than forecast in the first quarter, leaving it closer to growth than at any time since it slid into recession last year.