problem.hh: move more mpl black magic to detail/utility.hh.