Reinstall broken packages in fix_broken()

If a package is in state Reinstal-required, reinstall them.