I think you just need more practice to get a better feel for how to use melee characters. Making everyone ranged might work, but you should learn how to use the melee characters effectively. Make a separate save slot before battles (don't just use one save slot and save over it), and try different things. If you get killed, then take what you learned and try again.