Similar Items: Deciding Equations in the Time Warp Algebra