A second half double from substitute Santiago Pierotti has given Lecce a much-needed 3-1 win at Parma in Serie A.