Macy's beat earnings estimates for the first quarter, but cut its 2025 profit outlook as tariffs complicate its turnaround strategy.