removeFormula function

removeFormula: Function to remove term from a formula.