Laser blasts from Grand Moff Tarkin can be annoying, but they can help you.
Send Obi-Wan into the first structure and push forward. This will push Grand Moff Tarkin upward and into the middle. Hopefully his lasers will take out a bunch in that section. Use Obi-Wan to finish the remaining pigs.