Generalised the way robots remove from nests

Robots can be trained to remove things from nests regardless of where
the nest is (previously only worked when nest was in a box). Path code
cleaned up as well.