Singularities of admissible normal functions