Like you had a choice there, haha. You may have to stick to whatever the game gives you when you run out of TMs. Just my experience at least, I burnt 17 TM going back and forth between moves I didn't want. Now I have 0 charge TM and raids don't drop them for me anymore.
Right, theoretically speaking ice beam and thunder bolt are the most useful.