The dwarf is still alive, so it will take your action. Not to mention moving towards him will invoke AoP's from the two goblins who are currently fighting you. If it matters, Pylia will tell you that she will heal the dwarf, just focus on the goblins.