refactor (Statement.php) move free logic to new free() method from destructor

Now destructor only calls free() method