Fix minor bug in puiseux() and integral_basis().

With the changes made to puiseux, some additional changes
need to be made to integral_basis() in order to be computed
correctly and more efficiently.