When specialising, reduce more names

Specifically, all names which are called by the function being
specialised, by searching the call graph.

(Maybe we should also reduce inlinable names)