The meaning of this construction is analytic.
x koto ni suru
→ to decide on x thing
ikanai koto ni suru.
→ I’ve decided to not go.
It's hard to see how 'ni suru' can mean 'to decide on' until you remember that 'suru' also means 'to make'.
x koto ni suru
→ to x thing, I make it so
So now the meaning of 'to decide' falls out naturally.
I decide on x → I make x so
ikanai koto ni suru
→ I make 'not going' thing so → I’ve decided to not go