Fix two bugs in diagfrob/diagfrob.c.

1.  Uninitialised fmpz_t.
2.  Bug in the binary search.