Salesforce’s stock gains as margin outlook gets a boost; CFO to step down