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