En stark upphämtning gjorde att HK Malmö kunde ta en poäng hemma mot serieledaren Ystads IF, 31-31 (16-19).