Lazio had two players sent off in the second half as Inter fought back from a goal down to bring their eight-match winless streak to an end.