Prompting Neural-Guided Equation Discovery Based on Residuals