acu114019 - Check dependencies of found artifacts.

Solve needs to also check dependencies of found artifacts when
finding the longest bad solution.