Brazil’s Petrobras to pay nearly $5 billion in dividends