UK retail giant Tesco has booked a decline in first-quarter sales that was less than it had predicted and that beat analyst expectations.