The point is that making the offer sends a message about the type of classroom you run: in this course, you are communicating to them that you care more about their learning than you do about their specific performance on this particular assignment. If the performance did not match your expectations, try again. What matters is that you learn from it.