Remove an unnecessary check at the bottom of Scene.CloseAgent()

At this point sp != null so no check required.