I blew him up. Then I was still being attacked and boarded. Then I continued attacking the phantom ship. It showed blank space then showed his ship again blowing up again and finally ending the mission.