Lithium iron phosphate battery electrolyte treatment