analysis range: fix use of HashMap::remove

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>