Support for Func::reorder() with more than 5 arguments

Needed for automatically generated schedules with more than 5 variables (created by `split()`s).