Union Pacific Profit Beats Estimates Amid Cost Cutting