In all_world2pix, detect exact inverse transformation

The Broyden solver cannot check the convergence criterion if the initial
value is an exact root. Partially fixes #1977.