Remove intermediate images on successful builds.