chore: upstream repeat/split_ands/subst_eqs (#3305)

Small tactics used in the implementation of `ext`.

---------

Co-authored-by: Leonardo de Moura <leomoura@amazon.com>
8 files changed