Formation-Damage Minimization for Drilling and Cementing Fluids