First up the barbs to 10 and tetras 10-12.
I'm nit sure what else, I'm not great with stocking with barbs
30+ Neon Tetra's wouldn't just spontaneously die, there must have been a cause, you should be fine to slowly up the numbers again providing there are no pre-existing problems.