Improved Algorithms for Allen's Interval Algebra by Dynamic Programming with Sublinear Partitioning