core: remove ast command and lock down list of external packages
 We've removed :ast for now because it depends on haskell-src-exts that
 doesn't build with the GHC head. If we want :ast back we should implement
 in a way that doesn't depend on external libraries.