Disable tables of size 1

This corner case was triggering a near-infinite loop. Also add a sanity
check iteration limit to simplify_fp, which wasn't the problem this time
but could also easily loop if there are other problems with
simplification.