Afridi, Irfan bowl Pakistan to series-levelling win