Speed up build when using cache

Builder now calls Daemon.Graph().Map() once, instead of once per step.

Signed-off-by: Mathieu Larose <mathieu@mathieularose.com>