A Nyström method for Fredholm integral equations with right-hand sides having isolated singularities