Fix some cases of bad defense target AI

(Copying a primary target to a defense target must check it's a ship first)