[Sage] Remove check for empty results in TestSage::testDefineFunction(), according new Sage behaviore (cherry picked from commit d2902eda)