fix for some melee and medkit related stuff

make them both use validMeleeRange, and make validMeleeRange store the
position of the tile a valid melee target was found in. this avoids the
need for deriving the location later, removing the need for copy/pasted
defective code and making everything look all neat and shiny