Indonesia's Pertamina to spend nearly $2 bln to improve safety