BF: Fix bug in multiple_fast_inv

Some computations were done outside the loop, but they depend on values changing at each iteration. This resulted in wrong inverse values because of the use of the wrong `piv` variable. Also the check of `info` was done only for the last decomposition.