There are possibilities for removing and/or using the perchlorates as solid rocket propellant:
"Students Alex Hoganson, Hetal Rathore, and Chase Wernex used data from NASA's 2008 Phoenix Mars Lander to determine that Martian soil contains a 60/40 mix of calcium perchlorate and magnesium perchlorate. They worked under professor Steve Son at Zucrow Labs to synthesize and test a solid rocket propellant using that 60/40 mix as an oxidizer." [1][2]
[1] https://www.youtube.com/watch?v=zwD0a_VdS_4
[2] https://engineering.purdue.edu/ME/News/2022/can-we-turn-mart...