Fixed the bug.  Refs #7658.

1. Fixed the bug, which causes that a while loop cannot be over;
2. Cleaned the codes.
Fixed the bug.  Refs #7658.

The comment in the last commit is not all correct.  The bug is inside
LeBailFunction.cpp
Merge remote branch 'origin/feature/7658_lebailfit_tcmalloc_error'